<?php
$nick = $_GET['nick'];
$exist=mysql_query("select s_id,s_up,s_down from ".$prefix."shoplist where s_nick='".$nick."'",$conn);
if($a=mysql_fetch_array($exist)){
	$up=(int)$a['s_up'];
	$down=(int)$a['s_down'];
	$up_width=round($up/($up + $down)*55);
	$down_width=round($down/($up + $down)*55);
	$up_percent=number_format($up/($up + $down)*100,1);
	$down_percent=number_format($down/($up + $down)*100,1);
	$digg=$a;
}
?>
